import re
with open(file='html_code.txt', mode='r', encoding='utf-8') as f:
    result = f.read()
p_title = '<h3>.*?<a href=".*?" target="_blank"  >(.*?)</a>.*?</h3>'
title = re.findall(p_title, result, re.S)
print(len(title))
print(title)
